Fix minor problems found by static checking.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Jul 2011 21:43:31 +0000 (14:43 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Jul 2011 21:43:31 +0000 (14:43 -0700)
commitf072c16ba9ccf401fabf3a0d430878130813f684
treeda78e28bfa24f90571ae48743ba7cfabf24feee1
parentd788f34963af51c0f66bf9b40081b9708946c5d7
Fix minor problems found by static checking.

* bidi.c (bidi_cache_size): Now EMACS_INT, not size_t.
(elsz): Now a signed constant, not a size_t var.  We prefer signed
types to unsigned, to avoid integer comparison confusion.  Without
this change, GCC 4.6.1 with -Wunsafe-loop-optimizations complains
"cannot optimize loop, the loop counter may overflow", a symptom
of the confusion.
src/ChangeLog
src/bidi.c